package com.apex.lottery.common.errorcode;

import lombok.Data;

/**
 * @ClassName ErrorCode
 * @Description 错误码定义
 * @Author ZJX
 * @Date 2024/8/3 0:53
 * @Version 1.0
 */

@Data
public class ErrorCode {
    private final Integer code;
    private final String message;

    public ErrorCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
